Click or drag to resize

.NET, Core and Mono Libraries Manual

The Linkar Libraries allow the exchange of information with the server when they are included in compatible Projects.

They contain many functions that can be called from the application.

Linkar can use three types of Functions:

PERSISTENT FUNCTIONS

Exclusively from OOP (OBJECT-ORIENTED PROGRAMMING) and allow the creation of a LinkarClt object that manages all the operations.

After creating the object, it is necessary to Login that, through a Session code; this allows it to make all the desired operations until a call to the Close method is produced or until the session expires because of inactivity. This is defined on its EntryPoint.

They are useful for applications that require user identification, for instance, to log into an ERP session.

DIRECT FUNCTIONS

Used for direct and independent communication with the database.

Its arguments contain the necessary information to identify the user before returning the required information.

Unlike persistent functions, these do not have a Session Code, each call is completely independent of the others and does not have Login or Close functions.

They are used for database access from public websites, for instance online shops.

TEXT FUNCTIONS

This type of function does not need to access the database.

They are executed in the client and their goal is to ease the management of the MV buffers.

They are grouped in the MV Functions and Data Functions chapters

Linkar also supplies other types of calls:

SYNCHRONOUS CALLS

They are executed in the same thread of the main application, so they block the execution of the application until they finish.

ASYNCHRONOUS CALLS

They are executed in a new thread, so they do not block the execution of the application. A return method is required when a call is made (Callback) which is triggered when the operation is completed.